package com.lvhaosb.newpneumonia.POJO.vo;

import com.alibaba.fastjson.annotation.JSONField;

/**
 * @Anthor 鲁昊
 * @Date ${DATE} ${TIME}
 * @Description ${description}
 * @Version
 */
public class Result {
    @JSONField(name = "code")
    private Integer code;

    @JSONField(name = "message")
    private String message;

    @JSONField(name = "info")
    private Object info;

    public Result() {
    }

    @Override
    public String toString() {
        return "Result{" +
                "code=" + code +
                ", message='" + message + '\'' +
                ", info=" + info +
                '}';
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Object getInfo() {
        return info;
    }

    public void setInfo(Object info) {
        this.info = info;
    }

    public Result(Integer code, String message, Object info) {
        this.code = code;
        this.message = message;
        this.info = info;
    }
}
